org.eclipse.vtp.framework.util
Class Guid

java.lang.Object
  extended by org.eclipse.vtp.framework.util.Guid

public class Guid
extends java.lang.Object

The Guid class provides a facility for generating unique identifiers. The identifier is a 128 bit number packed into a 32 character hex string.

Author:
trip

Constructor Summary
Guid()
           
 
Method Summary
static java.lang.String createGUID()
          Creates a unique identifier.
static void main(java.lang.String[] args)
          Utility function that allows the generation of a unique identifier directly from the command line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Guid

public Guid()
Method Detail

createGUID

public static java.lang.String createGUID()
Creates a unique identifier.

Returns:
128 bit number hex encoded into a 32 character string.

main

public static void main(java.lang.String[] args)
Utility function that allows the generation of a unique identifier directly from the command line. The identifier is printed to standard out and the program terminates.

Parameters:
args - The command line arguments provided.